package com.hm.base.service;

import java.util.List;

import com.hm.base.su.BaseConfig;
import com.hm.base.vo.SubscriberVo;
import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageParam;

/**
 * @author shishun.wang
 * @date 下午2:56:05 2017年6月2日
 * @version 1.0
 * @describe
 */
public interface SubscriberService {

	public String HTTP_INVOKER_EXPORT_CONTEXT = "/HttpInvokerEndpoing/base/SubscriberService/"
			+ BaseConfig.HttpInvokerEndpoing.VERSION;

	public SubscriberVo getSubscriber(Long subscriberId);

	public void addSubscriber(SubscriberVo subscriberVo);

	public void updateSubscriber(Long subscriberId, SubscriberVo subscriberVo);

	public PageInfo<SubscriberVo> query(PageParam pageParam, String account,Long subscriberParentId);

	public void deleteSubscriber(List<Long> subscriberIds);

	public void updateSubscriberPwd(Long subscriberId, String oldPwd, String newPwd);
	
	public List<SubscriberVo> getSubscriberChilds(Long subscriberId);

	public SubscriberVo getSubscriberParent(Long subscriberId);
}
